#!/bin/bash

cd /Users/maqinghong/Documents/JenkinsWork

export JAVA_OPTS="-Dfile.encoding=UTF-8"

java $JAVA_OPTS -jar agent.jar \
  -url http://localhost:8080/ \
  -secret acfe6994644b8395ab0250966e01f308b0ebd1acc32cbbe60519bacc41252c06 \
  -name Unity \
  -webSocket \
  -workDir "/Users/maqinghong/Documents/JenkinsWork"

read -p "按 Enter 键退出..."